package com.yuanfeng.userms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 权限组表
 * @TableName user_admin_rights_group
 */
@TableName(value ="user_admin_rights_group")
@Data
public class UserAdminRightsGroupEntity implements Serializable {
    /**
     * 权限组id
     */
    @TableId(type = IdType.AUTO)
    private Short rightsGroupId;

    /**
     * 权限组名称
     */
    private String rightsGroupName;

    /**
     * 权限列表
     */
    private String rightsGroupRightsIds;

    /**
     * 创建时间
     */
    private Date rightsGroupAddTime;

    /**
     * 逗号分隔所有权限
     */
    private String rightsLimitsAll;

    /**
     * 权限状态
     */
    private String rightsLimitsState;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}